gridpack::stream::InputStream Class Reference
#include <input_stream.hpp>
List of all members.
Constructor & Destructor Documentation
gridpack::stream::InputStream::InputStream |
( |
|
) |
|
gridpack::stream::InputStream::~InputStream |
( |
|
) |
|
Member Function Documentation
void gridpack::stream::InputStream::close |
( |
|
) |
|
Close a file or other input stream
bool gridpack::stream::InputStream::isOpen |
( |
|
) |
|
Report if a stream is currently open
- Returns:
- true if stream is open
bool gridpack::stream::InputStream::nextLine |
( |
std::string & |
line |
) |
|
Get next line from streaming source
- Parameters:
-
| line | next line from streaming source |
- Returns:
- true if another line is found
bool gridpack::stream::InputStream::openFile |
( |
std::string |
file |
) |
|
Open a file
- Parameters:
-
| filename | name of file to open |
- Returns:
- true of file is successfully opened
The documentation for this class was generated from the following file: